<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%>
<%@ include file="/WEB-INF/layouts/base.jsp"%>
<!DOCTYPE HTML>
<html>
  <head>
    <title>产品分类列表</title>
    <link rel="stylesheet" href="${ctxsta}/goods/main/css/style.css" />
    <link rel="stylesheet" href="${ctxsta}/common/bootstrap-table-master/bootstrap-table.min.css" />
    <link rel="stylesheet" href="${ctxsta}/common/bootstrap-datepicker-master/css/bootstrap-datepicker.min.css" />
  </head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>产品分类信息</h5>
                <div class="ibox-tools">
                    <a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
                    <a class="close-link"><i class="fa fa-times"></i></a>
                </div>
            </div>
            <div class="ibox-content">
            
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="example-wrap">
                            <div class="example">
                                <div id="toolbar">
                                	<button id="addCategory" type="button" class="btn btn-default">
                                        <i class="glyphicon glyphicon-plus"></i>创建分类
                                    </button>
							        <button id="remove" type="button" class="btn btn-danger" disabled>
							            <i class="glyphicon glyphicon-remove"></i>删除分类
							        </button>
							    </div>
                                <table id="table"
							           data-toolbar="#toolbar"
							           data-search="true"
							           data-show-refresh="true"
							           data-show-toggle="true"
							           data-show-columns="true"
							           data-show-export="true"
							           data-detail-view="true"
							           data-detail-formatter="detailFormatter"
							           data-minimum-count-columns="2"
							           data-show-pagination-switch="true"
							           data-pagination="true"
							           data-id-field="id"
							           data-sort-name="createTime"
             						   data-sort-order="desc"
							           data-page-list="[10, 25, 50, 100, ALL]"
							           data-show-footer="false"
							           data-side-pagination="server"
							           data-url="/admin/system/goods/classify/data"
							           data-response-handler="responseHandler">
							    </table>
                           </div>
                           
                        </div>
                    </div>
                </div>
            
            </div>
        </div>
    </div>
    <myfooter>
    <!-- jquery-ui-->
    <script src="${ctxsta}/common/jquery/jquery-ui.min.js"></script>
    <!-- Data picker -->
    <script src="${ctxsta}/common/bootstrap-datepicker-master/js/bootstrap-datepicker.min.js"></script>
    
    <!-- 自定义js -->
    <script src="${ctxsta}/goods/main/js/layer.js"></script>
    <script src="${ctxsta}/goods/main/js/goods_classify.js"></script>
    <script src="${ctxsta}/goods/main/js/goods_classify_table.js"></script>
    </myfooter>
</body>
</html>